Function for extracting URLs for links found on crawled pages.
pathsToMatch
and fileTypesToMatch
actions,
and the exclusionPatterns
parameter.
You can override this default logic by providing a linkExtractor
function that overrides this default logic and returns its own list of URLs to queue.